#coding=utf-8
from django.db import models

class Message(models.Model):
  qq = models.CharField(max_length=50, unique=True)
  content = models.CharField(max_length=500)
  published_at = models.DateTimeField()
  
  created_at = models.DateTimeField(auto_now_add=True)
  def __unicode__(self):
    return '%s:%s'%(self.qq, self.content)

